<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/4/10
 * Time: 14:19
 */

namespace app\common\validate;


use think\Validate;

class Program extends Validate
{
    protected $rule = [
        'title' => 'require',

        'defaulePageview' => 'require',
         'content' => 'require',

    ];
    public function sceneAdd(){
        return $this->only(['title','defaulePageview','content']);
    }

}